<template>
  <div id="cart">
    <order-header title="我的购物车">
      <span slot="desc"
        >温馨提示：产品是否购买成功，以最终下单为准哦，请尽快结算</span
      >
    </order-header>
    <cart-list></cart-list>
    <nav-footer></nav-footer>
  </div>
</template>

<script>
import OrderHeader from "components/orderheader/OrderHeader";
import NavFooter from "components/navfooter/NavFooter";
import cartList from "./cartList";

export default {
  name: "Cart",
  components: {
    OrderHeader,
    NavFooter,
    cartList,
  },
  created() {
    window.scrollTo(0, 0);
  },
};
</script>
<style scoped>
.demo {
  height: 600px;
}
</style>